package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 吊车相关图片对象 car_image
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
public class CarImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 吊车ID */
    @Excel(name = "吊车ID")
    private Long carId;

    /** 吊车编号 */
    @Excel(name = "吊车编号")
    private String carNo;

    /** 是否主图，0：不是，1：是。 */
    @Excel(name = "是否主图，0：不是，1：是。")
    private String master;

    /** 操作记录的ID，1：验收，2：维护，3：加油 */
    @Excel(name = "操作记录的ID，1：验收，2：维护，3：加油")
    private String imageTypeId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String deleteFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarNo(String carNo) 
    {
        this.carNo = carNo;
    }

    public String getCarNo() 
    {
        return carNo;
    }
    public void setMaster(String master) 
    {
        this.master = master;
    }

    public String getMaster() 
    {
        return master;
    }
    public void setImageTypeId(String imageTypeId) 
    {
        this.imageTypeId = imageTypeId;
    }

    public String getImageTypeId() 
    {
        return imageTypeId;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("carId", getCarId())
            .append("carNo", getCarNo())
            .append("master", getMaster())
            .append("imageTypeId", getImageTypeId())
            .append("imageUrl", getImageUrl())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
